import defaultSettings from '@/settings'
import { i18n, Jzhcn } from '@/i18n/index'
const title = defaultSettings.title || 'Vue Admin Template'

export default function getPageTitle(pageTitle: string) {
  if (pageTitle) {
    return `${i18n.global.t(pageTitle)} - ${title}`
  }
  return `${title}`
}
